import React from 'react';
import { Button, message } from 'antd';


function Message(props) {
      message.open({
        type: props.typeData,
        content: props.content,
      });
    return (
        <div className='message'></div>
    );
}

export default Message;